package com.ibeeking.gmc.global.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TemplateDatabaseDo
 * @Description
 * @Author ibeeking
 * @Date 2021-03-02 09:07
 **/
@Data
@TableName("gmc_database_template")
public class DatabaseTemplateDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 数据库连接
     */
    @TableField(value = "db_config_id")
    private Long dbConfigId;

    /**
     * 行业类型:mall=电商平台；mdi=制造业
     */
    @TableField(value = "industry")
    private String industry;

    /**
     * 所属应用
     */
    @TableField(value = "application")
    private String application;

    /**
     * 数据库名
     */
    @TableField(value = "db_name")
    private String dbName;

    @TableField(value = "name")
    private String name;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    @TableField(value = "sort")
    private Integer sort;

    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
}
